<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>内填充和边框宽度对元素大小的影响</title>
		<style>
			div{
				height: 100px;
				width: 100px;
				border: 1px solid red;
				margin: 5px;
			}
			div#d2{
				padding: 100px;
				border: 50px groove #008000;
			}
		</style>
	</head>
	<body>
		<div id="d1">1</div>
		<div id="d2">2</div>
	</body>
</html>
